Add PHPStan static analysis setup#35
Conversation
Add PHPStan as a Composer dev dependency, configure phpstan.neon at level 6, add the Composer analyse script, and fix reported iterable type issues across the SDK and tests. Integration tests requiring valid tokens remain skipped.
|
We’re happy to accept this contribution — thanks again @Seraphim200001 for your work and for the thoughtful improvements you proposed. We also really appreciate the care you put into the discussion and the overall contribution experience. Additionally, we’d be very happy if you would like to share your experience contributing to the project, either in a blog post or on LinkedIn. If you decide to write something about your experience and contribution, it would be a real pleasure for us. |
|
@francescobianco Thank you so much for the kind words! It was a pleasure contributing to the project and I really enjoyed the collaborative discussion.I’m also very happy to hear that you’d value a post about my experience. I’ll definitely consider writing something for LinkedIn once I’ve had a moment to wrap things up |
#21 Add PHPStan as a Composer dev dependency, configure phpstan.neon at level 6, add the Composer analyse script, and fix reported iterable type issues across the SDK and tests. Integration tests requiring valid tokens remain skipped.
📋 Description
Brief description of the changes made in this PR.
✨ Type of Change
🔍 Main Changes
Add PHPStan static analysis setup
🧪 Testing
./vendor/bin/phpunit)📝 Additional Notes
Any additional information, considerations, or important context for reviewers.
🔗 Related Issue
Closes #21 (if applicable)
📸 Screenshots (if applicable)
If changes affect the interface or visible behavior, include screenshots.
✅ Checklist